package com.deyuanyun.pic.pbf.service.impl;

import com.deyuanyun.pic.pbf.domain.CoatSurvey;
import com.deyuanyun.pic.pbf.mapper.CoatSurveyMapper;
import com.deyuanyun.pic.pbf.service.CoatSurveyService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CoatSurveyServiceImpl implements CoatSurveyService {
    @Autowired
    private CoatSurveyMapper coatSurveyMapper;

    private static final Logger logger = LoggerFactory.getLogger(CoatSurveyServiceImpl.class);

    public CoatSurvey selectByPrimaryKey(String id) {
        return this.coatSurveyMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.coatSurveyMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(CoatSurvey record) {
        return this.coatSurveyMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(CoatSurvey record) {
        return this.coatSurveyMapper.updateByPrimaryKey(record);
    }

    public int insert(CoatSurvey record) {
        return this.coatSurveyMapper.insert(record);
    }
}